

/*
* Copyright @ 2017 com.iflysse.trains
* crm 下午9:19:13
* All right reserved.
*
*/
	
package com.qf.pojo;

import java.util.List;

/**
* @desc: crm
* @descripe:XXXX
* @author: 周锐
* @createTime: 2017年7月24日 下午9:19:13
* @history:
* @version: v1.0

*/

public class PagePost {
	    private int page;//当前页
	    private int size;//页数
	    private int totalpage;//总页数
	    private List<CrmPost> posts;
		
		/**
		*/
			
		public PagePost() {
			
			super();
			//TODO 
				
		}

		
		/**
		* @param page
		* @param size
		* @param totalpage
		* @param posts
		*/
			
		public PagePost(int page, int size, int totalpage, List<CrmPost> posts) {
			super();
			this.page = page;
			this.size = size;
			this.totalpage = totalpage;
			this.posts = posts;
		}


		
		/**
		* @return the page
		*/
		
		public int getPage() {
		
			return page;
		}


		
		/**
		* @param page the page to set
		*/
		
		public void setPage(int page) {
		
			this.page = page;
		}


		
		/**
		* @return the size
		*/
		
		public int getSize() {
		
			return size;
		}


		
		/**
		* @param size the size to set
		*/
		
		public void setSize(int size) {
		
			this.size = size;
		}


		
		/**
		* @return the totalpage
		*/
		
		public int getTotalpage() {
		
			return totalpage;
		}


		
		/**
		* @param totalpage the totalpage to set
		*/
		
		public void setTotalpage(int totalpage) {
		
			this.totalpage = totalpage;
		}


		
		/**
		* @return the posts
		*/
		
		public List<CrmPost> getPosts() {
		
			return posts;
		}


		
		/**
		* @param posts the posts to set
		*/
		
		public void setPosts(List<CrmPost> posts) {
		
			this.posts = posts;
		}


		
		/*
		*(non-Javadoc)
		* @see java.lang.Object#toString()
		*/
			
		@Override
		public String toString() {
			return "PagePost [page=" + page + ", size=" + size + ", totalpage=" + totalpage + ", posts=" + posts + "]";
		}
	    
}

	